import { SetMetadata } from '@nestjs/common';


//只是设置了一个需要登录的元数据
export const RequireLogin = () => SetMetadata('require-login', true);

export const RequirePermission = (...permissions: string[]) =>SetMetadata('require-permission', permissions);
